Variant.IsNumeric Method

Returns a Boolean. True if the variant is a numeric data type.

Syntax

If the variant is a string expression for a number, such as "8" instead of 8, then IsNumeric returns True.